//
//  HJYNewVC.m
//  BuDeJie
//
//  Created by 胡大力 on 2016/12/5.
//  Copyright © 2016年 nebula. All rights reserved.
//

#import "HJYNewVC.h"

@interface HJYNewVC ()

@end

@implementation HJYNewVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setUpNav];
}


- (void)setUpNav {
    
    //titleView
    self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"MainTitle"]];
    
    //leftItem
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem barButtonitemWithImageName:@"MainTagSubIcon" HightlightName:@"MainTagSubIconClick" target:self action:@selector(mainBtnClick)];
    
}


- (void)mainBtnClick {
    
    NSLog(@"mainBtnClick");
}





- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
